package com.cenxi.common.convert;

import com.cenxi.common.dto.req.AccountReqDTO;
import com.cenxi.common.dto.resp.AccountRespDTO;
import com.cenxi.dao.domain.Account;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AccountDTOTOAccountEntity extends BaseDTOMapStruct<AccountRespDTO, Account> {
    AccountDTOTOAccountEntity INSTANCE = Mappers.getMapper(AccountDTOTOAccountEntity.class);

    Account accountReqToAccount(AccountReqDTO reqDTO);
}
